Driver Missions are made with text file scripts and can be
edited with any text file editor (like notepad) or with DMC witch
provide visual help and property edition. A script is composed of
commands telling the Driver engine what to do and in which order.
This chapter describes the commands, and variables that Driver
supports. Each commands, or variable is described by syntax,
functional purpose. For convenience, Driver verbs and variables
are listed by group.
In the syntax descriptions, commands are written in red. Braket [] indicate optional items, and parameters are shown in <green> , the two signs "less than" and "greater than" do not need to be entered. Some commands have no parameters.
Common parameters
Parameter |
Description |
<angle> |
An integer value ranging from 0 to 3136
(Deg * ~ 11.61) representing an angle around the x axis. i.e. East =0 , West=2091, South=1045 and North = 3136 |
<target
id> |
A Target id represent a point on the map and is defined with the SetTarget , and can be used by other commands. |
<radius> |
A Radius is a distance from a point,
ranging from 0 to 1000000. A radius of 0 mean no radius
at all and 1000000 mean always reach. 1500 is about the
length of a car. |
<boolean> |
An integer value ranging from 0 to 1. 0 is False, 1 is true. |
<value> |
An integer value |
<string> |
A text string enclosed between two
quote. A text string cannot contain any special
characters. |
<index to string> | Index to string held in mission driver
text files. |
<duration>
|
number of second. |